Utils::PathChooser Class

class Utils::PathChooser

The PathChooser class is a control that lets the user choose a path. The control consist of a QLineEdit and a "Browse" button, and is optionally able to perform variable substitution. More...

Header: #include <pathchooser.h>

Public Functions

Utils::PathChooserKind expectedKind() const
void setExpectedKind(Utils::PathChooserKind expected)
void setValueAlternatives(const Utils::FilePaths &candidates)

Signals

void beforeBrowsing()
void browsingFinished()
void editingFinished()
void rawPathChanged()
void returnPressed()
void textChanged(const class QString &text)
void validChanged(bool validState)

Detailed Description

This class has some validation logic for embedding into QWizardPage.

Member Function Documentation

[signal] void PathChooser::beforeBrowsing()

[signal] void PathChooser::browsingFinished()

[signal] void PathChooser::editingFinished()

Utils::PathChooserKind PathChooser::expectedKind() const

Returns the kind of path the PathChooser considers valid to select.

See also Utils::PathChooserKind and setExpectedKind().

[signal] void PathChooser::rawPathChanged()

[signal] void PathChooser::returnPressed()

void PathChooser::setExpectedKind(Utils::PathChooserKind expected)

Sets the kind of path the PathChooser will consider valid to select to expected.

See also Utils::PathChooserKind and expectedKind().

void PathChooser::setValueAlternatives(const Utils::FilePaths &candidates)

Offers candidates in an Alternatives menu.

A candidate on the device of a remote base directory reads as it does on that device, without scheme and host, as the base directory resolves it.

[signal] void PathChooser::validChanged(bool validState)